<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        div {
            overflow: hidden;
            width: 200px;
            height: 300px;
        }

        div img {
            width: 100%;
            transition: transform .5s;
        }

        div:hover img {
            transform: scale(1.2);
        }
    </style>
</head>

<body>
    <div>
        <a href="#">
            <img src="images/1.jpg" alt="">
        </a>
    </div>
</body>

</html>